home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacApp Release 10 / MacApp Release 10 - HD Ready / Examples / A-Z / Q / QuickTime / Simple QuickTime View / UMovieViewer.h < prev    next >
Encoding:
Text File  |  1996-04-03  |  1.5 KB  |  68 lines  |  [TEXT/MPS ]

  1. //----------------------------------------------------------------------------------------
  2. // UMovieViewer.h
  3. // Copyright © 1996 by Apple Computer, Inc. All rights reserved. 
  4. //----------------------------------------------------------------------------------------
  5.  
  6. /*
  7.     Change History:
  8.         03/14/96    gjc        First Checkin.
  9. */
  10. #ifndef __UMovieViewer__
  11. #define __UMovieViewer__
  12.  
  13. //MacApp
  14. #ifndef __UAPPLICATION__
  15. #include "UApplication.h"
  16. #endif
  17.  
  18. #ifndef __UFILEBASEDDOCUMENT__
  19. #include "UFileBasedDocument.h"
  20. #endif
  21.  
  22. #ifndef __UQUICKTIME__
  23. #include "UQuickTime.h"
  24. #endif
  25.  
  26. //----------------------------------------------------------------------------------------
  27. // TMovieViewerApplication
  28. //----------------------------------------------------------------------------------------
  29.  
  30. class TMovieViewerApplication : public TApplication
  31. {
  32.     MA_DECLARE_CLASS;
  33.  
  34. public:
  35.  
  36.     virtual void IMovieViewerApplication();
  37.  
  38.     virtual TDocument* DoMakeDocument(CommandNumber itsCommandNumber,
  39.                                              TFile* itsFile);//    Override
  40. };
  41.  
  42.  
  43. //----------------------------------------------------------------------------------------
  44. // TMovieViewerDocument
  45. //----------------------------------------------------------------------------------------
  46.  
  47. class TMovieViewerDocument : public TFileBasedDocument
  48. {
  49.     MA_DECLARE_CLASS;
  50.  
  51. public:
  52.     ~TMovieViewerDocument();
  53.  
  54.     // Construction/Destruction
  55.     virtual void IMovieViewerDocument(TFile* itsFile,
  56.                                              OSType itsCreator);
  57.  
  58.     // Views
  59.     virtual void DoMakeViews(Boolean forPrinting);// Override
  60.  
  61. private:
  62.  
  63.     TMovie* fMovie;
  64. };
  65. #endif
  66.  
  67.  
  68.